<!doctype html>
<title>setTimeout document.open</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var tests = [async_test("Timeout on original window, scope"),
             async_test("Timeout on original window, this object"),
             async_test("Timeout on new window, scope"),
             async_test("Timeout on new window, this object")];
function tests_done() {
  tests.forEach(function(t) {t.done()});
}
</script>
<iframe src="016-1.html"></iframe>
